package com.ljwy.gun;

import android.content.Context;
import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.rscja.deviceapi.RFIDWithUHFBLE;

public class BaseActivity extends AppCompatActivity {
    protected Context mContext;
    protected RFIDWithUHFBLE uhf;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mContext = this;
        uhf = RFIDWithUHFBLE.getInstance();
        uhf.init(getApplicationContext());
    }
}
